﻿using Loogn.DataAccess;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Loogn.DBTest.DAL
{
    /// <summary>
    /// User数据库的基类，有这样一个基类，主要是为了统一设置同一个数据库的连接字符串
    /// </summary>
    /// <typeparam name="TModel"></typeparam>
    public abstract class UserDALBase<TModel> : BaseDAL<TModel>
    {
        protected override string GetConnectionString()
        {
            return System.Configuration.ConfigurationManager.ConnectionStrings["test"].ConnectionString;
        }
    }
}
